Release 10.1A: OpenEdge Development:
Java Open Clients
Passing temp-tables as ProDataGraph parameters
OpenEdge supports passing an individual Progress 4GL temp-table parameter as a
ProDataGraph, similar to a ProDataSet. This temp-tableProDataGraphmust contain a singleProDataObjectcollection specified by a singleProDataObjectMetaDatathat maps to the schema of the temp-table. Of course, there is noProDataRelationMetaDatain a temp-tableProDataGraphand it provides no change tracking.Similar to a ProDataSet, OpenEdge automatically builds the appropriately formed
ProDataGraphfor aTABLEorTABLE-HANDLEparameter passed asOUTPUT. You must also prepare aProDataGraphmapped to temp-table parameters passed asINPUTorINPUT-OUTPUTin a manner similar to aProDataGraphmapped to ProDataSet parameters. In all other ways, programming with a temp-tableProDataGraphis identical to programming with a ProDataSetProDataGraphthat has no data-relations and no change tracking enabled (getBImageFlag()on theProDataObjectMetaDatareturnsfalse).So, for information on passing a temp-table
Note: TheProDataGraphasOUTPUT, see the "Passing a ProDataGraph as OUTPUT" section, and on passing a temp-tableProDataGraphasINPUTorINPUT-OUTPUT, see the "Passing a ProDataGraph as INPUT or INPUT-OUTPUT" section.ProDataGraphis the default mechanism for passing temp-table parameters to a Java Open Client. An alternative mechanism for passing temp-table parameters is available using the SQLResultSetinterface. For a comparison of these mechanisms for passing temp-table parameters, see the sections on passing temp-tables and ProDataSets in Chapter 4, " Passing Parameters."
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |